package com.dev.ac.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.time.ZonedDateTime;

/**
 * @Author 付
 * @Date 2024-04-14 20:00
 * @Version 1.0
 * @description
 * @since 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ActiveVo{
	@NotBlank(message = "活动标题不能为空")
	private String title;
	@NotBlank(message = "活动描述不能为空")
	private String description;
	@NotBlank(message = "活动内容不能为空")
	private String content;
	@NotNull(message = "活动等级不能为空")
	private BigDecimal score;
	@NotNull(message = "活动类型不能为空")
	// 活动类型
	private Integer activeType;
	@NotBlank(message = "活动地址不能为空")
	private String address;
	@NotNull(message = "活动开始时间不能为空")
	private ZonedDateTime createTime;
	@NotNull(message = "活动截止时间不能为空")
	private ZonedDateTime deadTime;
	private Long peopleCount = 0L;
	private String department;
	private Integer secondScore = 0;
	private Integer educationScore = 0;
	private Integer laborScore = 0;
	private Integer status;
}
